An Ultrametric Model of Reactive Programming
نویسندگان
چکیده
We describe a denotational model of higher-order functional reactive programming using ultrametric spaces, which provide a natural Cartesian closed generalization of causal stream functions. We define a domain-specific language corresponding to the model. We then show how reactive programs written in this language may be implemented efficiently using an imperatively updated dataflow graph and give a higher-order separation logic proof that this lowlevel implementation is correct with respect to the high-level semantics.
منابع مشابه
Completeness of Conversion between Reactive Programs for Ultrametric Models
In 1970 Friedman proved completeness of beta eta conversion in the simply-typed lambda calculus for the set-theoretical model. Recently Krishnaswami and Benton have captured the essence of Hudak’s reactive programs in an extension of simply typed lambda calculus with causal streams and a temporal modality and provided this typed lambda calculus for reactive programs with a sound ultrametric sem...
متن کاملUltrametric and Generalized Ultrametric in Computational Logic and in Data Analysis
Following a review of metric, ultrametric and generalized ultrametric, we review their application in data analysis. We show how they allow us to explore both geometry and topology of information, starting with measured data. Some themes are then developed based on the use of metric, ultrametric and generalized ultrametric in logic. In particular we study approximation chains in an ultrametric ...
متن کاملUltrametric Domain Theory and Semantics in Coq
We present a Coq formalization of ultrametric spaces and of ultrametric-enriched categories, up to and including the construction of solutions to recursive domain equations in ultrametric-enriched categories. We then show how to apply this semantic setup for giving semantics to a programming language with higher-order store. Specifically, we define a step counting operational semantics for a fu...
متن کاملCompleteness in Generalized Ultrametric Spaces
Γ-ultrametric spaces are spaces which satisfy all the axioms of an ultrametric space except that the distance function takes values in a complete lattice Γ instead of R≥0. Γ-ultrametric spaces have been extensively studied as a way to weaken the notion of an ultrametric space while still providing enough structure to be useful (see for example [17], [18], [8]). The many uses of Γ-ultrametric sp...
متن کامل, interbasin kinetics and ultrametric diffusion
We discuss the interbasin kinetics approximation for random walk on a complex landscape. We show that for a generic landscape the corresponding model of interbasin kinetics is equivalent to an ultrametric diffusion, generated by an ultrametric pseudodifferential operator on the ultrametric space related to the tree of basins. The simplest example of ultrametric diffusion of this kind is describ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2010